//
//  BCDebugInteractiveLabel.h
//  Pods
//
//  Created by Ye Qing on 16/11/3.
//
//

#import <UIKit/UIKit.h>

#import "BCDebugContextMenuItemDefines.h"

@class BCDebugInteractiveLabel;

@protocol BCDebugInteractiveLabelDelegate <NSObject>
- (void)interactiveLabel:(BCDebugInteractiveLabel *)label contextMenuItemClicked:(BCDebugContextMenuItem)item withSender:(id)sender;
@end

@interface BCDebugInteractiveLabel : UILabel

@property (nonatomic, strong) NSArray<NSNumber *> *contextMenuItemTypes;            /**< showed context menu items */
@property (nonatomic, strong) NSArray<NSString *> *contextMenuItemTitles;
@property (nonatomic, assign) BCDebugContextMenuItem allowCustomActionContextMenuItems;  /**< allow menu items perform custom action */
@property (nonatomic, weak) id<BCDebugInteractiveLabelDelegate> delegate;
@property (nonatomic, assign) BOOL showContextMenuAlwaysCenetered;                  /**< show context menu centered on label. Default is YES */

@end
